package com.uniview.weblog1;

import com.uniview.filter.RemoveGatewayContextFilter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

/**
 * @Author lux
 * @date: 2020/1/7
 * @desc: 全局异常网关配置器
 */
@Slf4j
//@Configuration
public class LogConfiguration1 {

    @Bean
    public AccessLogFilter accessLogFilter(){
        return new AccessLogFilter();
    }

    @Bean
    public GatewayContextFilter gatewayContextFilter(){
        return new GatewayContextFilter();
    }

}
